#include <exception>

namespace gmath
{
  class GMathException : public std::exception {
    private:
      const char* msg_;

    public:
      GMathException(const char *msg) : msg_(msg) {};
      ~GMathException() throw() {};
      const char *what() const throw() { return this->msg_; }
  };
}
